<!--#include file="inc/AspCms_SettingClass.asp" -->
<%
if isnul(session("adminName")) or Session("sitepath")<>SitePath then response.Redirect("login.asp"):response.End()

dim id, rsObj
id=getForm("id","get")
if not isnul(id) then
	set rsObj=conn.exec("select * from {prefix}Language where LanguageID="&id,"exe")
	if not rsObj.eof then 
		session("languageID")=id
		session("languagePath")=rsObj("LanguagePath")
		session("LanguageAlias")=rsObj("Alias")
		session("IsDefault")=rsObj("IsDefault")
	else
		alertMsgAndGo "没有这个语言","-1"
	end if
	rsObj.close : set rsObj=nothing
	response.Redirect("index.asp")
end if

dim SceneID
SceneID=getForm("SceneID","get")
if not isnul(SceneID) then
	set rsObj=conn.exec("select * from {prefix}Scene where SceneID="&SceneID,"exe")
	if not rsObj.eof then 
		'wCookie"SceneID",id
		session("SceneMenu")=rsObj("SceneMenu")
	else		
		alertMsgAndGo "没有这个场景","-1"
	end if
	rsObj.close : set rsObj=nothing
	response.Redirect("index.asp")
end if
%>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>Aspcms网站管理系统</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

<link href="css/timoo/uikit.min.css" rel="stylesheet">
<link href="css/timoo/timoo.css" rel="stylesheet">

<script src="js/timoo/jquery.min.js"></script>
<script src="js/timoo/uikit.min.js"></script>
<script src="js/timoo/uikit-icons.min.js"></script>
<script src="js/timoo/timoo.js"></script>
</head>
<frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0">
    <frame src="top.asp" name="topFrame" id="topFrame" scrolling="no" noresize />
    <frameset cols="180,*" name="bodyFrame" id="bodyFrame" frameborder="no" border="0" framespacing="0"  >
        <frame src="menu.asp?id=1&src=right.asp" name="menu" id="menu" scrolling="auto" noresize />
        <frame src="right.asp" name="main" id="main" scrolling="auto" noresize />
        <frame src="inc/reset.asp"  marginHeight=0  frameBorder=0 width="0" scrolling=none height="0"></frame>
    </frameset>
</frameset>
<noframes>
    <body>你的浏览器不支持框架！</body>
</noframes>
</html>